.tab {
}
.tab li { list-style:none; float:left; }
.tab ul a {
  display:block;
  padding:6px 10px;
  text-decoration:none;
  margin:1px;
  margin-left:0;
  color:#FFF;
  background:#7FB301;
}
.tab ul a:hover {
  color:#FFF;
  background:#CCCCCC;
  }
.tab ul a.selected {
  margin-bottom:0;
  color:#fff;
  background:#555555;
  border-bottom:1px solid #555555;
  cursor:default;
  }
.tab div {
  clear:left;
  border:2px solid #7FB301;
}
.tab div a { color:#000; font-weight:bold; }